﻿using System.Collections.Generic;
using System.Threading.Tasks;
using System;
using AliFox.BaseService.BaseData.OrganizationManagement.Dto;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace AliFox.BaseService.BaseData.OrganizationManagement;

public interface IOrganizationAppService : IApplicationService
{
    Task<PagedResultDto<OrganizationDto>> GetAll(GetOrganizationInputDto input);

    Task<ListResultDto<OrganizationDto>> LoadAll(Guid? id, string? filter);

    Task<ListResultDto<OrganizationDto>> LoadAllNodes();

    Task<OrganizationDto> Get(Guid id);

    Task<OrganizationDto> Create(CreateOrUpdateOrganizationDto input);

    Task<OrganizationDto> Update(Guid id, CreateOrUpdateOrganizationDto input);

    Task Delete(List<Guid> ids);
}